/*
 *	Copyright (c) 2013, Yulong Information Technologies
 *	All rights reserved.
 *  
 *  @Project: Db
 *  @author: Robot
 *	@email: feng88724@126.com
 */
package com.example.db;

import com.example.db.core.Model;
import com.example.db.core.annotation.GeneratedId;
import com.example.db.core.annotation.PK;

/**
 * @author Robot
 * @weibo http://weibo.com/feng88724
 * @date Apr 11, 2013	
 */
public class User extends Model<User> {
	
	//private static final long serialVersionUID = 1173518762081933267L;
	
	@GeneratedId
	@PK
	public int id;
	private String name;
	private String email;
	
	/**
	 * @return the id
	 */
	public int getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the email
	 */
	public String getEmail() {
		return email;
	}
	/**
	 * @param email the email to set
	 */
	public void setEmail(String email) {
		this.email = email;
	}
}